package com.zareal.feign;

import com.zareal.dot.PutApplicationDto;
import com.zareal.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@FeignClient(value = "service-purchase",fallbackFactory = PurchaseFeignClientFallbackFactory.class)
public interface PurchaseFeignClient {
    /**
     * 申请表
     */
    @RequestMapping(value="/application/putapplication",method= RequestMethod.POST)
    JSONResult putApplication(@RequestBody PutApplicationDto putApplicationDto);
}
